/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.bedatadriven.mso.core.MsoChartElementType;
import com.bedatadriven.mso.core.MsoEnvelope;
import com.bedatadriven.mso.core.Scripts;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel._Chart*/
public class _Chart extends JavaScriptObject {

	protected _Chart() { }
	public native final ExcelApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final void activate()/*-{
		this.Activate( );
	}-*/;

	public native final void copy( Object before,  Object after)/*-{
		this.Copy( before, after);
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final String getCodeName()/*-{
		return this.CodeName;
	}-*/;

	public native final String get_CodeName()/*-{
		return this._CodeName;
	}-*/;

	public native final void set_CodeName(String value)/*-{
		this._CodeName = value;
	}-*/;

	public native final int getIndex()/*-{
		return this.Index;
	}-*/;

	public native final void move( Object before,  Object after)/*-{
		this.Move( before, after);
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final void setName(String value)/*-{
		this.Name = value;
	}-*/;

	public native final Object getNext()/*-{
		return this.Next;
	}-*/;

	public native final String getOnDoubleClick()/*-{
		return this.OnDoubleClick;
	}-*/;

	public native final void setOnDoubleClick(String value)/*-{
		this.OnDoubleClick = value;
	}-*/;

	public native final String getOnSheetActivate()/*-{
		return this.OnSheetActivate;
	}-*/;

	public native final void setOnSheetActivate(String value)/*-{
		this.OnSheetActivate = value;
	}-*/;

	public native final String getOnSheetDeactivate()/*-{
		return this.OnSheetDeactivate;
	}-*/;

	public native final void setOnSheetDeactivate(String value)/*-{
		this.OnSheetDeactivate = value;
	}-*/;

	public native final PageSetup getPageSetup()/*-{
		return this.PageSetup;
	}-*/;

	public native final Object getPrevious()/*-{
		return this.Previous;
	}-*/;

	public native final void __PrintOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate)/*-{
		this.__PrintOut( from, to, copies, preview, activePrinter, printToFile, collate);
	}-*/;

	public native final void printPreview( Object enableChanges)/*-{
		this.PrintPreview( enableChanges);
	}-*/;

	public native final void _Protect( Object password,  Object drawingObjects,  Object contents,  Object scenarios,  Object userInterfaceOnly)/*-{
		this._Protect( password, drawingObjects, contents, scenarios, userInterfaceOnly);
	}-*/;

	public native final boolean getProtectContents()/*-{
		return this.ProtectContents;
	}-*/;

	public native final boolean getProtectDrawingObjects()/*-{
		return this.ProtectDrawingObjects;
	}-*/;

	public native final boolean getProtectionMode()/*-{
		return this.ProtectionMode;
	}-*/;

	public native final void _Dummy23()/*-{
		this._Dummy23( );
	}-*/;

	public native final void _SaveAs(String filename,  Object fileFormat,  Object password,  Object writeResPassword,  Object readOnlyRecommended,  Object createBackup,  Object addToMru,  Object textCodepage,  Object textVisualLayout)/*-{
		this._SaveAs( filename, fileFormat, password, writeResPassword, readOnlyRecommended, createBackup, addToMru, textCodepage, textVisualLayout);
	}-*/;

	public native final void select( Object replace)/*-{
		this.Select( replace);
	}-*/;

	public native final void unprotect( Object password)/*-{
		this.Unprotect( password);
	}-*/;

	public native final int getVisible()/*-{
		return this.Visible;
	}-*/;

	public native final void setVisible(int value)/*-{
		this.Visible = value;
	}-*/;

	public native final Shapes getShapes()/*-{
		return this.Shapes;
	}-*/;

	public native final void _ApplyDataLabels(int type,  Object legendKey,  Object autoText,  Object hasLeaderLines)/*-{
		this._ApplyDataLabels( type, legendKey, autoText, hasLeaderLines);
	}-*/;

	public native final Object arcs( Object index)/*-{
		return this.Arcs( index);
	}-*/;

	public native final ChartGroup getArea3DGroup()/*-{
		return this.Area3DGroup;
	}-*/;

	public native final Object areaGroups( Object index)/*-{
		return this.AreaGroups( index);
	}-*/;

	public native final void autoFormat(int gallery,  Object format)/*-{
		this.AutoFormat( gallery, format);
	}-*/;

	public native final boolean getAutoScaling()/*-{
		return this.AutoScaling;
	}-*/;

	public native final void setAutoScaling(boolean value)/*-{
		this.AutoScaling = value;
	}-*/;

	public native final Object axes( Object type, int axisGroup)/*-{
		return this.Axes( type, axisGroup);
	}-*/;

	public native final void setBackgroundPicture(String filename)/*-{
		this.SetBackgroundPicture( filename);
	}-*/;

	public native final ChartGroup getBar3DGroup()/*-{
		return this.Bar3DGroup;
	}-*/;

	public native final Object barGroups( Object index)/*-{
		return this.BarGroups( index);
	}-*/;

	public native final Object buttons( Object index)/*-{
		return this.Buttons( index);
	}-*/;

	public native final ChartArea getChartArea()/*-{
		return this.ChartArea;
	}-*/;

	public native final Object chartGroups( Object index)/*-{
		return this.ChartGroups( index);
	}-*/;

	public native final Object chartObjects( Object index)/*-{
		return this.ChartObjects( index);
	}-*/;

	public native final ChartTitle getChartTitle()/*-{
		return this.ChartTitle;
	}-*/;

	public native final void chartWizard( Object source,  Object gallery,  Object format,  Object plotBy,  Object categoryLabels,  Object seriesLabels,  Object hasLegend,  Object title,  Object categoryTitle,  Object valueTitle,  Object extraTitle)/*-{
		this.ChartWizard( source, gallery, format, plotBy, categoryLabels, seriesLabels, hasLegend, title, categoryTitle, valueTitle, extraTitle);
	}-*/;

	public native final Object checkBoxes( Object index)/*-{
		return this.CheckBoxes( index);
	}-*/;

	public native final void checkSpelling( Object customDictionary,  Object ignoreUppercase,  Object alwaysSuggest,  Object spellLang)/*-{
		this.CheckSpelling( customDictionary, ignoreUppercase, alwaysSuggest, spellLang);
	}-*/;

	public native final ChartGroup getColumn3DGroup()/*-{
		return this.Column3DGroup;
	}-*/;

	public native final Object columnGroups( Object index)/*-{
		return this.ColumnGroups( index);
	}-*/;

	public native final void copyPicture(int appearance, int format, int size)/*-{
		this.CopyPicture( appearance, format, size);
	}-*/;

	public native final Corners getCorners()/*-{
		return this.Corners;
	}-*/;

	public native final void createPublisher( Object edition, int appearance, int size,  Object containsPICT,  Object containsBIFF,  Object containsRTF,  Object containsVALU)/*-{
		this.CreatePublisher( edition, appearance, size, containsPICT, containsBIFF, containsRTF, containsVALU);
	}-*/;

	public native final DataTable getDataTable()/*-{
		return this.DataTable;
	}-*/;

	public native final int getDepthPercent()/*-{
		return this.DepthPercent;
	}-*/;

	public native final void setDepthPercent(int value)/*-{
		this.DepthPercent = value;
	}-*/;

	public native final void deselect()/*-{
		this.Deselect( );
	}-*/;

	public native final int getDisplayBlanksAs()/*-{
		return this.DisplayBlanksAs;
	}-*/;

	public native final void setDisplayBlanksAs(int value)/*-{
		this.DisplayBlanksAs = value;
	}-*/;

	public native final Object doughnutGroups( Object index)/*-{
		return this.DoughnutGroups( index);
	}-*/;

	public native final Object drawings( Object index)/*-{
		return this.Drawings( index);
	}-*/;

	public native final Object drawingObjects( Object index)/*-{
		return this.DrawingObjects( index);
	}-*/;

	public native final Object dropDowns( Object index)/*-{
		return this.DropDowns( index);
	}-*/;

	public native final int getElevation()/*-{
		return this.Elevation;
	}-*/;

	public native final void setElevation(int value)/*-{
		this.Elevation = value;
	}-*/;

	public native final JavaScriptObject evaluate( Object name)/*-{
		return this.Evaluate( name);
	}-*/;

	public native final JavaScriptObject _Evaluate( Object name)/*-{
		return this._Evaluate( name);
	}-*/;

	public native final Floor getFloor()/*-{
		return this.Floor;
	}-*/;

	public native final int getGapDepth()/*-{
		return this.GapDepth;
	}-*/;

	public native final void setGapDepth(int value)/*-{
		this.GapDepth = value;
	}-*/;

	public native final Object groupBoxes( Object index)/*-{
		return this.GroupBoxes( index);
	}-*/;

	public native final Object groupObjects( Object index)/*-{
		return this.GroupObjects( index);
	}-*/;

	public native final JavaScriptObject getHasAxis( Object index1,  Object index2)/*-{
		return this.HasAxis( index1, index2);
	}-*/;

	public native final boolean getHasDataTable()/*-{
		return this.HasDataTable;
	}-*/;

	public native final void setHasDataTable(boolean value)/*-{
		this.HasDataTable = value;
	}-*/;

	public native final boolean getHasLegend()/*-{
		return this.HasLegend;
	}-*/;

	public native final void setHasLegend(boolean value)/*-{
		this.HasLegend = value;
	}-*/;

	public native final boolean getHasTitle()/*-{
		return this.HasTitle;
	}-*/;

	public native final void setHasTitle(boolean value)/*-{
		this.HasTitle = value;
	}-*/;

	public native final int getHeightPercent()/*-{
		return this.HeightPercent;
	}-*/;

	public native final void setHeightPercent(int value)/*-{
		this.HeightPercent = value;
	}-*/;

	public native final Hyperlinks getHyperlinks()/*-{
		return this.Hyperlinks;
	}-*/;

	public native final Object labels( Object index)/*-{
		return this.Labels( index);
	}-*/;

	public native final Legend getLegend()/*-{
		return this.Legend;
	}-*/;

	public native final ChartGroup getLine3DGroup()/*-{
		return this.Line3DGroup;
	}-*/;

	public native final Object lineGroups( Object index)/*-{
		return this.LineGroups( index);
	}-*/;

	public native final Object lines( Object index)/*-{
		return this.Lines( index);
	}-*/;

	public native final Object listBoxes( Object index)/*-{
		return this.ListBoxes( index);
	}-*/;

	public native final Chart location(int where,  Object name)/*-{
		return this.Location( where, name);
	}-*/;

	public native final Object oLEObjects( Object index)/*-{
		return this.OLEObjects( index);
	}-*/;

	public native final Object optionButtons( Object index)/*-{
		return this.OptionButtons( index);
	}-*/;

	public native final Object ovals( Object index)/*-{
		return this.Ovals( index);
	}-*/;

	public native final void paste( Object type)/*-{
		this.Paste( type);
	}-*/;

	public native final int getPerspective()/*-{
		return this.Perspective;
	}-*/;

	public native final void setPerspective(int value)/*-{
		this.Perspective = value;
	}-*/;

	public native final Object pictures( Object index)/*-{
		return this.Pictures( index);
	}-*/;

	public native final ChartGroup getPie3DGroup()/*-{
		return this.Pie3DGroup;
	}-*/;

	public native final Object pieGroups( Object index)/*-{
		return this.PieGroups( index);
	}-*/;

	public native final PlotArea getPlotArea()/*-{
		return this.PlotArea;
	}-*/;

	public native final boolean getPlotVisibleOnly()/*-{
		return this.PlotVisibleOnly;
	}-*/;

	public native final void setPlotVisibleOnly(boolean value)/*-{
		this.PlotVisibleOnly = value;
	}-*/;

	public native final Object radarGroups( Object index)/*-{
		return this.RadarGroups( index);
	}-*/;

	public native final Object rectangles( Object index)/*-{
		return this.Rectangles( index);
	}-*/;

	public native final JavaScriptObject getRightAngleAxes()/*-{
		return this.RightAngleAxes;
	}-*/;

	public native final void setRightAngleAxes( Object value)/*-{
		this.RightAngleAxes = value;
	}-*/;

	public native final JavaScriptObject getRotation()/*-{
		return this.Rotation;
	}-*/;

	public native final void setRotation( Object value)/*-{
		this.Rotation = value;
	}-*/;

	public native final Object scrollBars( Object index)/*-{
		return this.ScrollBars( index);
	}-*/;

	public native final Object seriesCollection( Object index)/*-{
		return this.SeriesCollection( index);
	}-*/;

	public native final boolean getSizeWithWindow()/*-{
		return this.SizeWithWindow;
	}-*/;

	public native final void setSizeWithWindow(boolean value)/*-{
		this.SizeWithWindow = value;
	}-*/;

	public native final boolean getShowWindow()/*-{
		return this.ShowWindow;
	}-*/;

	public native final void setShowWindow(boolean value)/*-{
		this.ShowWindow = value;
	}-*/;

	public native final Object spinners( Object index)/*-{
		return this.Spinners( index);
	}-*/;

	public native final int getSubType()/*-{
		return this.SubType;
	}-*/;

	public native final void setSubType(int value)/*-{
		this.SubType = value;
	}-*/;

	public native final ChartGroup getSurfaceGroup()/*-{
		return this.SurfaceGroup;
	}-*/;

	public native final Object textBoxes( Object index)/*-{
		return this.TextBoxes( index);
	}-*/;

	public native final int getType()/*-{
		return this.Type;
	}-*/;

	public native final void setType(int value)/*-{
		this.Type = value;
	}-*/;

	public native final int getChartType()/*-{
		return this.ChartType;
	}-*/;

	public native final void setChartType(int value)/*-{
		this.ChartType = value;
	}-*/;

	public native final void applyCustomType(int chartType,  Object typeName)/*-{
		this.ApplyCustomType( chartType, typeName);
	}-*/;

	public native final Walls getWalls()/*-{
		return this.Walls;
	}-*/;

	public native final boolean getWallsAndGridlines2D()/*-{
		return this.WallsAndGridlines2D;
	}-*/;

	public native final void setWallsAndGridlines2D(boolean value)/*-{
		this.WallsAndGridlines2D = value;
	}-*/;

	public native final Object xYGroups( Object index)/*-{
		return this.XYGroups( index);
	}-*/;

	public native final int getBarShape()/*-{
		return this.BarShape;
	}-*/;

	public native final void setBarShape(int value)/*-{
		this.BarShape = value;
	}-*/;

	public native final int getPlotBy()/*-{
		return this.PlotBy;
	}-*/;

	public native final void setPlotBy(int value)/*-{
		this.PlotBy = value;
	}-*/;

	public native final void copyChartBuild()/*-{
		this.CopyChartBuild( );
	}-*/;

	public native final boolean getProtectFormatting()/*-{
		return this.ProtectFormatting;
	}-*/;

	public native final void setProtectFormatting(boolean value)/*-{
		this.ProtectFormatting = value;
	}-*/;

	public native final boolean getProtectData()/*-{
		return this.ProtectData;
	}-*/;

	public native final void setProtectData(boolean value)/*-{
		this.ProtectData = value;
	}-*/;

	public native final boolean getProtectGoalSeek()/*-{
		return this.ProtectGoalSeek;
	}-*/;

	public native final void setProtectGoalSeek(boolean value)/*-{
		this.ProtectGoalSeek = value;
	}-*/;

	public native final boolean getProtectSelection()/*-{
		return this.ProtectSelection;
	}-*/;

	public native final void setProtectSelection(boolean value)/*-{
		this.ProtectSelection = value;
	}-*/;

	public native final void getChartElement(int x, int y, int elementID, int arg1, int arg2)/*-{
		this.GetChartElement( x, y, elementID, arg1, arg2);
	}-*/;

	public native final void setSourceData(Range source,  Object plotBy)/*-{
		this.SetSourceData( source, plotBy);
	}-*/;

	public native final boolean export(String filename,  Object filterName,  Object interactive)/*-{
		return this.Export( filename, filterName, interactive);
	}-*/;

	public native final void refresh()/*-{
		this.Refresh( );
	}-*/;

	public native final PivotLayout getPivotLayout()/*-{
		return this.PivotLayout;
	}-*/;

	public native final boolean getHasPivotFields()/*-{
		return this.HasPivotFields;
	}-*/;

	public native final void setHasPivotFields(boolean value)/*-{
		this.HasPivotFields = value;
	}-*/;

	public native final Scripts getScripts()/*-{
		return this.Scripts;
	}-*/;

	public native final void _PrintOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate,  Object prToFileName)/*-{
		this._PrintOut( from, to, copies, preview, activePrinter, printToFile, collate, prToFileName);
	}-*/;

	public native final Tab getTab()/*-{
		return this.Tab;
	}-*/;

	public native final MsoEnvelope getMailEnvelope()/*-{
		return this.MailEnvelope;
	}-*/;

	public native final void applyDataLabels(int type,  Object legendKey,  Object autoText,  Object hasLeaderLines,  Object showSeriesName,  Object showCategoryName,  Object showValue,  Object showPercentage,  Object showBubbleSize,  Object separator)/*-{
		this.ApplyDataLabels( type, legendKey, autoText, hasLeaderLines, showSeriesName, showCategoryName, showValue, showPercentage, showBubbleSize, separator);
	}-*/;

	public native final void saveAs(String filename,  Object fileFormat,  Object password,  Object writeResPassword,  Object readOnlyRecommended,  Object createBackup,  Object addToMru,  Object textCodepage,  Object textVisualLayout,  Object local)/*-{
		this.SaveAs( filename, fileFormat, password, writeResPassword, readOnlyRecommended, createBackup, addToMru, textCodepage, textVisualLayout, local);
	}-*/;

	public native final void protect( Object password,  Object drawingObjects,  Object contents,  Object scenarios,  Object userInterfaceOnly)/*-{
		this.Protect( password, drawingObjects, contents, scenarios, userInterfaceOnly);
	}-*/;

	public native final void applyLayout(int layout,  Object chartType)/*-{
		this.ApplyLayout( layout, chartType);
	}-*/;

	protected native final void _setElement( int element)/*-{
		this.SetElement( element);
	}-*/;

	public final void setElement(MsoChartElementType element){
		_setElement(element.getValue());
	}
	public native final boolean getShowDataLabelsOverMaximum()/*-{
		return this.ShowDataLabelsOverMaximum;
	}-*/;

	public native final void setShowDataLabelsOverMaximum(boolean value)/*-{
		this.ShowDataLabelsOverMaximum = value;
	}-*/;

	public native final Walls getSideWall()/*-{
		return this.SideWall;
	}-*/;

	public native final Walls getBackWall()/*-{
		return this.BackWall;
	}-*/;

	public native final void printOut( Object from,  Object to,  Object copies,  Object preview,  Object activePrinter,  Object printToFile,  Object collate,  Object prToFileName)/*-{
		this.PrintOut( from, to, copies, preview, activePrinter, printToFile, collate, prToFileName);
	}-*/;

	public native final void applyChartTemplate(String filename)/*-{
		this.ApplyChartTemplate( filename);
	}-*/;

	public native final void saveChartTemplate(String filename)/*-{
		this.SaveChartTemplate( filename);
	}-*/;

	public native final void setDefaultChart( Object name)/*-{
		this.SetDefaultChart( name);
	}-*/;

	public native final void exportAsFixedFormat(int type,  Object filename,  Object quality,  Object includeDocProperties,  Object ignorePrintAreas,  Object from,  Object to,  Object openAfterPublish,  Object fixedFormatExtClassPtr)/*-{
		this.ExportAsFixedFormat( type, filename, quality, includeDocProperties, ignorePrintAreas, from, to, openAfterPublish, fixedFormatExtClassPtr);
	}-*/;

	public native final JavaScriptObject getChartStyle()/*-{
		return this.ChartStyle;
	}-*/;

	public native final void setChartStyle( Object value)/*-{
		this.ChartStyle = value;
	}-*/;

	public native final void clearToMatchStyle()/*-{
		this.ClearToMatchStyle( );
	}-*/;

}
